package userManage.Model.entity;

import java.util.Date;

public class record {
    private String username;
    private String number;
    private String bookName;
    private Date borrowTime;
    private Date returnTime;
    private int bookId;

    public int getBookId() {
        return bookId;
    }

    public void setBookId(int bookId) {
        this.bookId = bookId;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getNumber() {
        return number;
    }

    public void setNumber(String number) {
        this.number = number;
    }

    public String getBookName() {
        return bookName;
    }

    public void setBookName(String bookName) {
        this.bookName = bookName;
    }

    public Date getBorrowTime() {
        return borrowTime;
    }

    public void setBorrowTime(Date borrowTime) {
        this.borrowTime = borrowTime;
    }

    public Date getReturnTime() {
        return returnTime;
    }

    public void setReturnTime(Date returnTime) {
        this.returnTime = returnTime;
    }

    @Override
    public String toString() {
        return "record{" +
               "username='" + username + '\'' +
               ", number='" + number + '\'' +
               ", bookName='" + bookName + '\'' +
               ", borrowTime=" + borrowTime +
               ", returnTime=" + returnTime +
               ", bookId=" + bookId +
               '}';
    }
}
